﻿using System;
using YJKRevitBase.Algorithm.Octree.Data;

namespace YJKRevitBase.Algorithm
{
	public abstract class AABBDATAThreeD
	{
		protected void SetBoxPoint(float inputMaxX, float inputMaxY, float inputMaxZ, float inputMinX, float inputMinY, float inputMinZ)
		{
			Point max = new Point(inputMaxX, inputMaxY, inputMaxZ);
			Point min = new Point(inputMinX, inputMinY, inputMinZ);
			this.m_useBox.SetMinMax(min, max);
		}

		internal BoundingBox UseBox
		{
			get
			{
				return this.m_useBox;
			}
			private set
			{
				this.m_useBox = value;
			}
		}

		private BoundingBox m_useBox;
	}
}
